<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>学院管理系统</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="icomoon/style.css" rel="stylesheet">
<link href="css/wysiwyg/bootstrap-wysihtml5.css" rel="stylesheet">
<link href="css/wysiwyg/wysiwyg-color.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet"><!-- 重要  -->
<!--[if lte IE 7]>
<script src="css/icomoon-font/lte-ie7.js">
</script>
<![endif]-->
<link href="css/charts-graphs.css" rel="stylesheet">
<link href="css/clockface.css" rel="stylesheet">
<link href="css/timepicker.css" rel="stylesheet">
<link href="css/alertify.core.css" rel="stylesheet" id="toggleCSS">
<script src="js/jquery.min.js"></script>
</head>
<body>
<%
String Role = (String) session.getAttribute("Role");
String Name = (String) session.getAttribute("Name");
String Id = (String) session.getAttribute("Id");
String isLogined = (String) session.getAttribute("isLogined");
if (isLogined == null || !isLogined.equals("true"))
	response.sendRedirect("/mycms/login");
else if(Role == "student")
	response.sendRedirect("/mycms/main_student");
else if(Role == "teacher")
	response.sendRedirect("/mycms/main_teacher");
%>
	<header>
		<a href="#" class="logo"> <img src="/mycms/img/logo.png" alt="logo" />
		</a>
		<div class="btn-group">
			<a class="btn btn-primary">${Name }</a>
			<button data-toggle="dropdown"
				class="btn btn-primary dropdown-toggle">
				<span class="caret"> </span>
			</button>
			<ul class="dropdown-menu pull-right">
				<li><a href="/mycms/modify"> 修改个人信息 </a></li>
				<li><a href="/mycms/logout"> 退出登录 </a></li>
			</ul>
		</div>
		<ul class="mini-nav">
			<li><a href="#">
					<div class="fs1" aria-hidden="true" data-icon="&#xe040;"></div> <span
					class="info-label badge badge-warning"> 3 </span>
			</a></li>
		</ul>

	</header>
	<div class="container-fluid">
		<div class="dashboard-container">
			<div class="top-nav">
				<ul>
					<li><a href="/mycms/admin/main">
							<div class="fs1" aria-hidden="true" data-icon="&#xe0a0;"></div>
							主页
					</a></li>
					<li><a href="/mycms/admin/room_list">
							<div class="fs1" aria-hidden="true" data-icon="&#xe0b8;"></div>
							查看会议室
					</a></li>
					<li><a href="/mycms/admin/student_list">
							<div class="fs1" aria-hidden="true" data-icon="&#xe0d6;"></div>
							查看学生
					</a></li>
					<li><a href="/mycms/admin/teacher_list">
							<div class="fs1" aria-hidden="true" data-icon="&#xe0e2;"></div>
							查看教师
					</a></li>
				</ul>
				<div class="clearfix"></div>
			</div>
			<div class="dashboard-wrapper">
				<!-- 引用至其他页面 -->